The Earth is considered a "starship" to some people.
She moves in a spiral through space, following the sun.
If we moved away from the blackhole, and certainly a comet, we can also move through space in a safe trajectory from dangerous star-systems.
The above is a diagram, with the trajectory I've drawn for cosmological knowledge I believe the safest way for the Earth to move.
Base it on your own terms, but other things, lines, stars, or objects could follow similar lines, and I know Arachnia, and Sagittarius, as well as planets above us, especially Sirius and near the area of Orion are totally dangerous and we are going to need to go "down" and a little bit to the right, for the Earth to safely move through space.
I base this on my shamanic knowledge, and you can doubt me if you want.